#include "vtor_shell.h"

#ifdef __DEMO_PROJECT__

#include "usart.h"

int16_t VtorString_ChanPrintBuffer(uint8_t ch, uint8_t* buf, int16_t len)
{
	// 根据不同通道，输出到不同的接口
/*
	if(0 == ch || 1 == ch)
	{
		return HAL_UART_Transmit(&huart1, buf, len, 0xFF);
	}
	if(2 == ch)
	{
		return HAL_UART_Transmit(&huart2, buf, len, 0xFF);
	}
	if(3 == ch)
	{
		return HAL_UART_Transmit(&huart3, buf, len, 0xFF);
	}
*/
}

void VtorString_AppendCharCpltCallback(uint8_t* str)
{
	//VtorString_Print(str);
	//VtorChan1Printf("VtorString_AppendCharCpltCallback(%s)\r\n", str);
	//VtorChan2Printf("VtorString_AppendCharCpltCallback(%s)\r\n", str);
	//VtorTimer_Create(VtorShellTask, 0);
}



#endif

